//
//  HMTabBar.h
//  HMWeiBoOC
//
//  Created by GD on 16/9/19.
//  Copyright © 2016年 geduo. All rights reserved.
//

#import <UIKit/UIKit.h>
@class HMTabBar;

@protocol HMTabBarDelegate <NSObject>

@optional
- (void)tabBar:(HMTabBar *)tabBar didSelectedButtonFrom:(int)from to:(int)to;

@end

@interface HMTabBar : UIView

- (void)addTabBarButtonWithItem:(UITabBarItem *)item;

@property (nonatomic, weak) id<HMTabBarDelegate> delegate;

@end
